import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入vant
import '@/utils/vant-ui'
import { setRelativeTime } from '@/utils/dayjs'

import 'amfe-flexible'
import '@/styles/index.scss'

Vue.config.productionTip = false

Vue.filter('relative', function (value) {
  return setRelativeTime(value)
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
